package com.bbu.javaexam.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bbu.javaexam.domain.ExamManage;

import java.util.List;

/**
 * @author Alex
 * @version 1.0.0
 * @ClassName ExamManageService.java
 * @Description TODO
 */
public interface ExamManageService extends IService<ExamManage> {
    List<ExamManage> findAll();

    IPage<ExamManage> findAll(Page<ExamManage> page);

    ExamManage findById(Integer examCode);

    int delete(Integer examCode);

    int update(ExamManage exammanage);

    int add(ExamManage exammanage);

    ExamManage findOnlyPaperId();

    int deletetimu(Integer examCode, String type);
}
